package org.huangke.service;

import org.huangke.dao.UserDao1;
import org.huangke.pojo.User;

public class UserServiceImpl implements UserService {

    private UserDao1 userDao;

    @Override
    public User getUser() {
        User user = userDao.getUser(1);
        System.out.println(user);
        return user;
    }

    public void setUserDao(UserDao1 userDao) {
        this.userDao = userDao;
    }
}
